#ifndef CAMERA_H
#define CAMERA_H

#include <nds.h>
#include <stdio.h>
#include "fixed.h"
#include "reference.h"
#include "map.h"

class camera{
public:
	static camera *getInstance();
	camera();
	~camera();

	void setPos(tFloat posX,tFloat posY);
	
	t2DVector updateSpritesOffset(t2DVector location,t2DVector mapSize);
	t2DVector getPos();
private:
	static camera* instance;
	t2DVector cameraPos;

};

#endif